﻿//-----------------------------------------------------------------------
// <copyright file="IMapDResource.cs" company="WorldView Solutions Inc">
//     Copyright (c) WorldView Solutions Inc. This source is subject to the Microsoft Public License (Ms-PL). All other rights reserved.
// </copyright>
//-----------------------------------------------------------------------

using System.Drawing;
using ESRI.ArcGIS.ADF.ArcGISServer;

namespace WorldViewSolutions.ArcGISServer.SOE.DataSources
{
    /// <summary>
    /// 
    /// </summary>
    /// <remarks></remarks>
    public interface IMapDResource
    {
        /// <summary>
        /// Gets a value indicating whether this instance is cached.
        /// </summary>
        /// <remarks></remarks>
		bool IsCached { get; }
        /// <summary>
        /// Gets the tile cache info.
        /// </summary>
        /// <remarks></remarks>
		TileCacheInfo TileCacheInfo { get; }
        /// <summary>
        /// Gets the units.
        /// </summary>
        /// <remarks></remarks>
		esriUnits Units { get; }
        /// <summary>
        /// Draws the extent.
        /// </summary>
        /// <param name="widthInches">The width inches.</param>
        /// <param name="heightInches">The height inches.</param>
        /// <param name="outputDPI">The output DPI.</param>
        /// <param name="maxResourceDpi">The max resource dpi.</param>
        /// <param name="extentToDraw">The extent to draw.</param>
        /// <returns></returns>
        /// <remarks></remarks>
		Bitmap DrawExtent(double widthInches, double heightInches, int outputDPI, int maxResourceDpi, EnvelopeN extentToDraw);
    }
}
